<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div data-skuUid="1"></div>
<div data-skuUid="2"></div>
<div data-skuUid="3"></div>

<script>
  const nodeList = document.querySelectorAll('[data-skuUid]')
  console.log(nodeList)
  console.log(nodeList.length)
  console.log(nodeList[0].getAttribute('data-skuUid'));
</script>
</body>
</html>